import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


LANGUAGE_CODE = 'zh-hans'
# 腾讯的COS 的id 和 key appid
TENCENT_COS_APPID = 1309510181
TENCENT_COS_ID = 'AKIDgBPRCfrmQovlKcVEhz4uUpthFYbNt99t'
TENCENT_COS_KEY = 'Xoqc8NN7aomVx94kALFtHPIvHNDsHQJv'

# gateway = "https://openapi.alipaydev.com/gateway.do"
#     merchant_private_key_path = "files/应用私钥.txt"
#     alipay_public_key_path = "files/支付宝公钥"
#
#     alipay = AliPay{
#         appid = "",
#         app_notify_url="",
#         return_url = "",
#         app_private_key_path = merchant_private_key_path,
#         alipay_public_key_path = alipay_public_key_path
#
#     }
ALI_APPID = "2021000121646445"
ALI_GAREWAY = "https://openapi.alipaydev.com/gateway.do"
ALI_PRI_KEY_PATH = os.path.join(BASE_DIR,"files/应用私钥.txt")
ALI_PUB_KEY_PATH = os.path.join(BASE_DIR,"files/支付宝公钥.txt")
ALI_NOTIFY_URL = "https://127.0.0.1:8000/pay/notify/" # POST ,不是公网IP,所以没看到请求到来
ALI_RETURN_URL = "https://127.0.0.1:8000/pay/return/" #GET ,为什么GET能访问了，是基于js做的跳转 location.href=地址

